//
//  SSCShareUnityAdapter.h
//  Unity-iPhone
//
//  Created by xuzepei on 16/1/19.
//
//

#import <Foundation/Foundation.h>

#if __has_include(<SSCInternalSDKLib/SSCInternalSDKLib.h>)
#import <SSCInternalSDKLib/SSCInternalSDKLib.h>
#else
#import "SSCShareController.h"
#endif

@interface SSCShareUnityAdapter : NSObject<SSCShareControllerDelegate>

@property(nonatomic,strong)NSString* objectName;

+ (SSCShareUnityAdapter*)getInstance;
- (void)setRootViewController:(UIViewController*)vc;
- (void)setGameObjectName:(char*)name;
- (void)shareToAll:(char*)message imagePath:(char *)imagePath;
- (void)shareToAll:(char*)message image:image;
- (void)shareToEmail:(char*)subject message:(char*)message imagePath:(char*)imagePath;
- (void)shareToEmail:(char*)subject message:(char*)message image:(UIImage*)image;
- (void)shareToFacebook:(char*)message imagePath:(char*)imagePath;
- (void)shareToFacebook:(char*)message image:image;
- (void)shareToTwitter:(char*)message imagePath:(char*)imagePath;
- (void)shareToTwitter:(char*)message image:image;
- (void)saveToPhotoLibrary:(UIImage*)image;
- (void)openUrl:(char*)url;


@end


